package io;
import java.io.*;

public class ISRDemo {
    public static void main(String[] args) throws IOException{
        InputStreamReader isr = new InputStreamReader(new FileInputStream("osw.txt"),"UTF-8");
        int d;
        while ((d= isr.read())!=-1){
            System.out.print((char)d);
        }
        isr.close();
    }
}
